package demo5内部类;

class Outerclass{

    class Innerclass1{

    }
    static class Innerclass2{

    }
}

interface A{
    void A();
}
public class Test {
    public static void main(String[] args){
        new A(){
            @Override
            public void A() {
                System.out.println("haha");
            }
        }.A();
    } 

}
